package com.example.lvsuo.service.cxg.impl;

import com.example.lvsuo.mapper.cxg.StatisticsMapper;
import com.example.lvsuo.service.cxg.StatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

@Service
@Transactional
public class StatisticsServiceImpl implements StatisticsService {

    @Autowired
    StatisticsMapper statisticsMapper;


    @Override
    public Map<String, Object> queryStatistics(Map<String, Object> map) {
        return statisticsMapper.queryStatistics(map);
    }

    @Override
    public List<Map<String, Object>> queryCreateIncome(Map<String, Object> map) {
        return statisticsMapper.queryCreateIncome(map);
    }

    @Override
    public List<Map<String, Object>> queryCommission(Map<String, Object> map) {
        return statisticsMapper.queryCommission(map);
    }

    @Override
    public Map<String, Object> queryEmpGongZi(Map<String, Object> map) {
        return statisticsMapper.gognzi(map);
    }

    @Override
    public List<Map<String, Object>> queryCase(Map<String, Object> map) {
        return statisticsMapper.queryCase(map);
    }

    @Override
    public List<Map<String, Object>> querySeal(Map<String, Object> map) {
        return statisticsMapper.querySeal(map);
    }

    @Override
    public List<Map<String, Object>> querylsYeWuShouFei(Map<String, Object> map) {
        return statisticsMapper.querylsYeWuShouFei(map);
    }
}
